package com.wk.paradise.main.service;

import com.wk.paradise.main.bean.pojo.Menu;
import com.wk.paradise.main.config.menu.MenuConfig;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author zhangshiquan
 * @description
 * @date 2019/3/27
 */
@Service
public class MenuService {

    @Autowired
    private MenuConfig menuConfig;

    public List<Menu> getMenu() {
        return menuConfig.getSubmenu();
    }
}
